<div class="topBar">
      <div class="topTitle">客户列表</div>
      <!--  <div class="topButton"><a href="/admin/add-customer" target="_self"><img src="/images/admin/addNew.gif"/></a></div>-->
    </div>
	
	<table cellspacing="0" cellpadding="0" border="0" class="listTable">
	<tbody>
	  <tr class="thead">
		<td>ID</td>
		<td>名字</td>
		<td>邮件</td>
		<td>电话</td>
		<td>地址</td>
		<td>注册时间</td>
		<td>操作</td>
	  </tr>
	  <?php 
	  	foreach($this->customers as $customer){
	  ?>
	  <tr>
		<td><?php echo $customer->id;?></td>
		<td><?php echo $customer->name;?></td>
		<td><?php echo $customer->email;?></td>
		<td>Tell: <?php echo $customer->tell;?> / Mobile: <?php echo $customer->mobile;?></td>
		<td><?php echo $customer->address;?> <?php echo $customer->city;?> <?php echo $customer->state;?> <?php echo $customer->zipcode;?> </td>
		<td><?php echo $customer->register_on;?></td>
		<td><a href="/admin/edit-customer/id/<?php echo $customer->id;?>">Edit</a> | <a href="/admin/delete-customer/id/<?php echo $customer->id;?>">Delete</a></td>
	  </tr>
	  <?php }?>
	</tbody>
	</table>
	